-- GENERATED SPELL FOR [Kil'rek] --


function spell0_17229(pUnit, Event) --@Amplify Flames,n/a--
pUnit:FullCastSpellOnTarget(30053,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17229', 26000, 1)
end

function Sorts_17229(pUnit, Event)
local choix_sorts_17229 = math.random(0, 0)
if choix_sorts_17229 == 0 then
pUnit:RegisterEvent('spell0_17229', 1, 1)
end
end

function mob17229_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17229', math.random(1500, 3000), 1)
end

function mob17229_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17229_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17229_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17229, 1, 'mob17229_Action')
RegisterUnitEvent(17229, 2, 'mob17229_Leave')
RegisterUnitEvent(17229, 3, 'mob17229_Kill')
RegisterUnitEvent(17229, 4, 'mob17229_Die')
